<script type="text/javascript">
    $(document).ready(function() {
        $('.shop_description').hide();
        $('#shop_infor_pro').click(function(){
            if($('.shop_description').is(':hidden')){
                $('.shop_description').show();
                $('#shop_infor_pro').css("color","orange");
                $('#shop_infor_pro').css("background","#f2f6f8 url(catalog/view/theme/mobile/default/images/right.png) no-repeat right");
            }
            else{
                $('.shop_description').hide();
                $('#shop_infor_pro').css("color","#444444");
                $('#shop_infor_pro').css("background","#f2f6f8 url(catalog/view/theme/mobile/default/images/down.png) no-repeat right");
            }
            return false;
        });

    });
</script>
<div id="shop_middle">
    <div class="shop_detail">
        <h1><?php echo $heading_title; ?></h1>
        <div class="shop_detail_img">
            <img width="80" height="80" src="<?php if(isset($thumb)){ echo $thumb; } else { echo $src='image/cache/logo-new.jpg';} ?>" alt="<?php echo $heading_title; ?>"/>
        </div>
        <div class="shop_detail_content">
            <p>
                <?php if ($display_price) { ?>
                    Giá hiện tại:
                    <?php if (!$special) { ?>
                        <span class="shop_price"><?php echo $price; ?></span>
                    <?php } else { ?>
                        <span class="shop_price"><?php echo $price; ?></span> <?php echo $special; ?>
                    <?php } ?>
                <?php } ?>
            </p>
        </div>
        <div class="shop_clear"> </div>
        <div class="shop_detail_info">
            <p>
                <?php echo $text_availability; ?>
                <span class="shop_meta_detail_info"><?php echo $stock; ?></span>
                <?php echo $text_add_date; ?>
                <span class="shop_meta_detail_info"><?php echo $add_date; ?></span>
                <!--Giờ
                <span class="shop_meta_detail_info">30</span>
                phút | -->
                <?php echo $text_view; ?> <?php echo $number_view ; ?>
            </p>
            <p>
                <?php echo $text_username; ?>
                <span class="shop_meta_detail_info">
                    <a href="#"><?php echo $username; ?></a>
                </span>
                <?php echo $text_zone; ?>
                <span class="shop_meta_detail_info"><?php echo $zone; ?></span>
            </p>
            <p><?php echo $text_average; ?>
                <?php if ($average) { ?>
                    <?php echo $text_stars; ?>
                <?php } else {?>
                    <?php echo $text_no_rating; ?>
                <?php } ?>
            </p>
        </div>
    </div>
    <div class="shop_browse_list">
        <!--
                <h3>
                    <a href="#">
                        <span>
                            Hình ảnh sản phẩm (1)
                        </span>
                        <span class="shop_bullit_title"></span>
                    </a>
                </h3>-->
        <h3>
            <a href="#" id="shop_infor_pro" 
               style="background: #f2f6f8 url(catalog/view/theme/mobile/default/images/down.png) no-repeat right;">
                <span>Thông số sản phẩm</span>                
            </a>
            <span class="shop_bullit_title"></span>            
        </h3>
        <!--
        <h3 class="shop_active">
            <a>
                <span>
                    Mô tả sản phẩm
                </span>
            </a>
            <span class="shop_bullit_title"></span>
        </h3>-->
        <div class="shop_description" style="width: 98%; margin-left: 1%;">
            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="shop_table_parameters">
                <tbody>
                    <tr>
                        <td>
                            <p>
                               <?php echo $description; ?>
                            </p>
                        </td>
                    </tr>
                </tbody>           
            </table>
        </div>        
    </div>
</div>